#pragma once
#include "WorldObject.h"
#include "GeomBuilder.h"
#include "TranslateNode.h"
#include "RotationNode.h"
#include "Clouds.h"
#include "iostream"
#include <list>

#include <vector>
using std::vector;
class Cloud: public WorldObject 
{

public:
	//Cloud(variables);
	Cloud(Location l, int r,int c);
	~Cloud();
	virtual SceneRoot* getDrawables();
	virtual void update();
	virtual int getSize(void);
	virtual Location getLocation(void);
	virtual bool draw();
	virtual bool canSplit();
	virtual std::list<WorldObject *> split();
	virtual void setDraw(bool d);
	virtual bool deleteMe(void);
	virtual void setDelete(bool d);

private:
	void specialAlgorithm(vector<vector<int> > heightMap, int s);
	SceneRoot root;
	Location loc;
	int size;
	bool deleteThis;
	bool drawMe;

};